using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace SeaBlueU5.Web.Standard.PicItem
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int PiId=(Convert.ToInt32(strid));
					ShowInfo(PiId);
				}
			}
		}
		
	private void ShowInfo(int PiId)
	{
		SeaBlueU5.BLL.Standard.PicItem bll=new SeaBlueU5.BLL.Standard.PicItem();
		SeaBlueU5.Model.Standard.PicItem model=bll.GetModel(PiId);
		this.lblPiId.Text=model.PiId.ToString();
		this.lblPiImg.Text=model.PiImg;
		this.lblPid.Text=model.Pid.ToString();
		this.lblPCtime.Text=model.PCtime.ToString();
		this.lblPCSort.Text=model.PCSort.ToString();

	}


    }
}
